<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>edge_number</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab function</center>
    <div align="right">Last update : September 1996</div>
    <p>
      <b>edge_number</b> -  number of edges of a graph</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>ma = edge_number(g)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>g</b>
        </tt>: graph list</li>
      <li>
        <tt>
          <b>m</b>
        </tt>: integer, number of edges</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
      <tt>
        <b>edge_number</b>
      </tt> returns the number <tt>
        <b>m</b>
      </tt> of edges of the graph.
    If the graph is directed, it is the number of arcs.
    If the graph is undirected, it is half the number of edges.
    It is always equal to the dimension of <tt>
        <b>g('tail')</b>
      </tt> and <tt>
        <b>g('head')</b>
      </tt>.</p>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="arc_number.htm">
        <tt>
          <b>arc_number</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="node_number.htm">
        <tt>
          <b>node_number</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
